package cn.pconline.autoclub.entity;

import java.util.Date;

import org.gelivable.dao.Column;
import org.gelivable.dao.Entity;
import org.gelivable.dao.Id;
import org.gelivable.dao.Label;

/**
 * Entity-车友会升级规则
 * @author zhoutianhuai
 */
@Entity(tableName = "ac_upgrade_rule")
public class UpgradeRule {

    @Id
    @Column(name = "rule_id")
    private long ruleId;
    @Column(name = "level_id")
    @Label(value = "所属星级ID 1-一星 2-二星 3-三星 4-四星 5-星")
    private int levelId;
    @Label(value = "规则描述")
    @Column(name = "rule_desc")
    private String ruleDesc;
    @Label(value = "价值点")
    @Column(name = "value_point")
    private long valuePoint;
    @Label(value = "创建时间")
    @Column(name = "create_at")
    private Date createAt;
    @Label(value = "创建人")
    @Column(name = "create_by")
    private long createBy;
    @Label(value = "更新人")
    @Column(name = "update_by")
    private long updateBy;
    @Label(value = "更新时间")
    @Column(name = "update_at")
    private Date updateAt;
    @Label(value = "状态")
    @Column(name = "status")
    private int status;
    
    public static final int STATUS_NORMAL = 0;//正常
    public static final int STATUS_DELETE = -1;//删除
    
	public long getRuleId() {
		return ruleId;
	}
	public void setRuleId(long ruleId) {
		this.ruleId = ruleId;
	}

	public int getLevelId() {
		return levelId;
	}
	public void setLevelId(int levelId) {
		this.levelId = levelId;
	}
	public String getRuleDesc() {
		return ruleDesc;
	}
	public void setRuleDesc(String ruleDesc) {
		this.ruleDesc = ruleDesc;
	}
	public long getValuePoint() {
		return valuePoint;
	}
	public void setValuePoint(long valuePoint) {
		this.valuePoint = valuePoint;
	}
	public Date getCreateAt() {
		return createAt;
	}
	public void setCreateAt(Date createAt) {
		this.createAt = createAt;
	}
	public long getCreateBy() {
		return createBy;
	}
	public void setCreateBy(long createBy) {
		this.createBy = createBy;
	}
	public long getUpdateBy() {
		return updateBy;
	}
	public void setUpdateBy(long updateBy) {
		this.updateBy = updateBy;
	}
	public Date getUpdateAt() {
		return updateAt;
	}
	public void setUpdateAt(Date updateAt) {
		this.updateAt = updateAt;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
    
}
